@import "vwstyle";

body,
html {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    height: vw(244);
    background: url(../images/bg.png);
    background-size: cover;

    article {
        &:nth-child(1) {
            display: flex;
            justify-content: flex-end;

            .text-size {
                font-size: vw(40);
                padding-top: vw(30);
                padding-right: vw(30);
            }
        }

        &:nth-child(2) {
            figure {
                display: flex;
                align-items: center;

                figcaption {
                    width: vw(110);
                    height: vw(110);
                    border-radius: 50%;
                    overflow: hidden;
                    margin-left: vw(30);
                    margin-right: vw(30);

                    img {
                        width: 100%;
                        height: 100%;
                    }

                }

                span {
                    font-size: vw(30);
                    color: #333333;
                }
            }
        }
    }
}

main {
    flex: 1;
    overflow: auto;
    background: #f4f4f4;

    .section1_content {
        height: vw(294);
        background: #fff;
        margin-bottom: vw(20);
        display: flex;
        flex-wrap: wrap;

        article {
            i {
                padding-top: vw(30);
                font-size: vw(40);
            }

            p {
                color: #999999;
                font-size: vw(24);
            }

            width: 25%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    }

    .section2_content {
        height: vw(282);
        background: #fff;
        margin-bottom: vw(20);
        h3 {
            margin-left: vw(30);
            font-size: vw(26);
            color: #666666;
            border-bottom: 1px solid #e4e4e4;
            padding: vw(30) 0;
        }

        section {
            display: flex;
            
            article {
                i {
                    padding-top: vw(30);
                    font-size: vw(40);
                    padding-bottom: vw(10);
                }

                p {
                    color: #999999;
                    font-size: vw(24);
                }

                width: 25%;
                display: flex;
                flex-direction: column;
                align-items: center;
            }
        }
        &:last-child{
            margin-bottom: 0;
        }
    }
}


footer {
    height: vw(98);
    background: #f9edf0;
    display: flex;
    justify-content: space-around;
    align-items: center;

    // box-sizing: border-box;
    // border-top: 1px solid #666;
    p {
        a {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #a9a6a6;

            &:hover {
                color: #ffc53f;

            }

            &:hover span {
                color: #333333;

            }

            font-size: vw(20);

            .text-size {
                font-size: vw(40);
            }
        }

        &:nth-child(4) a i {
            color: #ffc53f;
        }

        &:nth-child(4) a span {
            color: #333333;
        }
    }
}